package com.demo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 李天航
 * 需要安排的活动
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Task implements Serializable {
    private Integer taskId;
    private String taskName;
    private Long taskTime;
    private Long taskDeadline;
    private Long weekNum;
    private String userAccount;
    private String taskType;
    private Integer finishTag=0;
    private String taskLocation;

    public Task(String userAccount, Long weekNum) {
        this.userAccount=userAccount;
        this.weekNum= weekNum;
    }
}
